package mycoffee.order.model;

import java.util.ArrayList;

public class Category extends ExRoot {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private ArrayList<SubCategory> mSubCategories;
	private String mDepartment;

	/**
	 * Constructor with no input parameter
	 */
	public Category() {
		super();
		mSubCategories = new ArrayList<SubCategory>();
	}

	public Category(Category category) {
		// TODO
	}

	/**
	 * @return the subCategories
	 */
	public ArrayList<SubCategory> getSubCategories() {
		return mSubCategories;
	}

	/**
	 * @param subCategories
	 *            the subCategories to set
	 */
	public void setSubCategories(ArrayList<SubCategory> subCategories) {
		mSubCategories = subCategories;
	}

	public void setDepartment(String department) {
		mDepartment = department;
	}
	
	public String getDepartment() {
		return mDepartment;
	}
	
}
